package com.urea.system.constants;

/**
 * 类描述:
 *
 * @author fangXu
 * @version 1.0
 * @date 2023/8/11 17:11
 */
public class BusinessConstants {

    public static final Integer YES = 1;
    public static final Integer NO = 0;

    /**
     * 支出类型 支出
     */
    public static final String EXPENDITURE_TYPE = "1";
    /**
     * 支出类型 收入
     */
    public static final String INCOME_TYPE = "0";

    /**
     * 是否客户流水 是
     */
    public static final String IS_CUSTOMER = "1";
    /**
     * 是否客户流水 否
     */
    public static final String NOT_CUSTOMER = "0";
    /**
     * 业务类型;0充值，1加注，2退款，3提现,4.终端续费
     */
    public static final Integer BIZ_RECHARGE = 0;
    public static final Integer BIZ_FILL = 1;
    public static final Integer BIZ_REFUND = 2;
    public static final Integer BIZ_WITHDRAWAL = 3;
    public static final Integer BIZ_RENEW = 4;
    /**
     * 订单状态;0已创建，1已完成，2已取消
     */
    public static final Integer ORDER_STATUS_INIT = 0;
    public static final Integer ORDER_STATUS_COMPLETE = 1;
    public static final Integer ORDER_STATUS_CANCEL = 2;
    /**
     * 支付方式;0余额支付，1微信 2车队支付  3.线下支付
     */
    public static final Integer WALLET_PAY = 0;
    public static final Integer WX_PAY = 1;
    public static final Integer FLEET_PAY = 2;
    public static final Integer OFFLINE_PAY = 2;
    /**
     * 支付状态;0待支付，1已支付，2支付失败
     */
    public static final Integer WAIT_PAY = 0;
    public static final Integer SUCCESS_PAY = 1;
    public static final Integer FAIL_PAY = 2;

    /**
     * 用户类型 00 管理员 01 代理商 02 终端商 03 门店
     */
    public static final String ADMIN_TYPE = "00";
    public static final String AGENT_USER_TYPE = "01";
    public static final String TERMINAL_USER_TYPE = "02";
    public static final String STORY_USER_TYPE = "04";


    /**
     * 退款状态;0处理中，1成功，2失败
     */
    public static final Integer REFUND_INIT = 0;
    public static final Integer REFUND_SUCCESS = 1;
    public static final Integer REFUND_FAIL = 2;


    /**
     * 终端集合key
     */
    public static final String REDIS_TERMINAL_KEY = "REDIS_TERMINAL_KEY";


}
